Recently, a project needs to use a server as a dedicated deployment server, encountered some problems in the implementation process, as follows:1. The SSH default port of the server and the SSH port of the project Git repository are inconsistent 2.
-------git installation-------1.linux Installing Gitsudo apt-get install git older: sudo apt-get install Git-core 2.maxOS Installing GitBrew Install Git 3.windows Installing GitMsysgit is a Windows version of Git, downloaded from
This tutorial was previously sent to the community website and now turns it on your blog:)
Http://oss.lzu.edu.cn/artical.php?id=16
Description: All of the pictures in this tutorial are from pro git. All of the following actions, unless specifically
This tutorial was posted on the community web site and is now transferred to your blog:
Http://oss.lzu.edu.cn/artical.php?id=16
Description: All pictures of this tutorial are from "Pro git". All of the following operations, unless specifically
OverviewBefore we describe what git is, we need to make a basic overview of versioning (version control), which, in general, is managed and maintained on two dimensions of time and space, and the code itselfAnd the project files of the organization
$ git init//Initialize a git repository$ git status//view the status of the warehouse
$ git Add. Add all modifications to staging area
$ git add *//Ant style Additions modified
$ git Add *controller//Add all modifications of files ending with
Read the Liaoche to write tutorials, down to the end, took three days to learn, do a study note itAbout GitLinus created Linux to facilitate the management of Linux code, the use of C wrote this distributed version control system. The GitHub site
What is the main difference between SVN and git?Talking about git naturally think of SVN, I have just access to the version Control tool is SVN,SVN is a centralized version control system, the repository is centralized in the central server, when
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.